Preload categories on the index page