gallery css fixes