fixing page animations