basic page transitions working, added transitionIn and animateIn function, added transition CSS