make sure gallery text buttons are hidden