Add gallery hover transition