added subpage theming, need to do lazy loading