add pagination
use dirty hack to get page category