Got rid of the gallery ul in place of divs for more flexibility.
Added the first media query
Further query modifications.