Added styling for grid / list classes and JS to flip between the two.