add center view in galleryview