fixed next and prev pages buttons