Add support to have a specific element visible when gallery is opened