hide page up/down control when we should