Added fancybox interface in the gallery.

* Imported proper js and css files
* edited the gallery.html template to use fancybox and jQuery