Add autosize for popup
Add offline template
Add gallery preview popup
Change popup with jQuery object
Add memcache connection check