Is this sentence grammatically correct?

At work, when my superiors have gone home, I like wandering aimlessly along the library's shelves, touching the spines of the books.
10 answers 10