more css fixes for gallery