changed styles for gallery image