moved from getCategories.php. Now displays when page loads