Various CSS and JS changes to support Thumbnail/List view mode etc