Update ajax_page_list.php

When clicking for a second time on a category ajax gets triggered again. By checking if the item has the class selected. We can prevent to make the ajax call since the data is already there.
Merge pull request #6 from Rgeelen/patch-1

Update ajax_page_list.php