fixing page transitions #2