disable back and next arrows on first and last views