Updating CSS to work with image gallery