Don't go navigate past first and last pages