Makes next and prev page buttons invisible after they fade out.