switching of number of displayed results implemented