Fixed horizontall scrolling issue and added compatability for other transitions.