combine hide and unhide methods into mega method