update css,js for old_gallery.
新版gallery,自适应高度修改