Added CSS transitionas and JS to create nicer page transitions