Enabling gallery transitions