Cleaned the HTML and CSS in gallery