Transition optimizations

Replaced x with left due to weird behavior in Chrome when the tab is
inactive