Use blueimp to show gallery.
Refact gallery function.
Merge branch 'blueimp'