fixes the movies per page not reloading correctly