Changed Gallery list layout
Added paging to directory list page