added total links for category query
added total links for category helper function
added category scope support to directory ajax filter request