added pagination in results page