A layout switch with two view mode grid and list. The layout is defined by a view class that gets applied to the main wrapper. Some example media queries show how to make things responsive.