Correctly implements css transitions for the ToC
Before, changing the left property directly on the element itself was causing the transition to fail.