hide page controls if not applicable.