```var visible```was already declared a few lines above, can you either overwrite ```visible``` or rename it to ```nextPageVisible```?