Added client-side functionality, slider, lightbox and pinterest style gallery