Added frontend implementation of search result pagination