prevent animation when single page