Add transparent layer in gallery