Add pager and improve searchbar in gallery displayCategory