add categories and sub pages
fix hash refresh
add url segment to pass data