all in one place for zend ui pagination and image loading