updated the views for images and configured jQuery Masonry