appropriate checking visibility of controll buttons in galleries