improvements for gallery section