gallery has bugs.pulling from tarun
fixed some issues of galery. totally fedup with that. Still not perfect