added overlay for gallery