Improved transitions while changing page