Fixed the page slider bugs.