added style for gallery, js for gallery