cleaned up page transitions