auto hide menu for printing