added ability to choose results per page
2 charts and everything working well