Adding in a quick init variable to prevent nextPage from firing unless init has fired