Fixed problem with page transition.