update index page; add functions for topic selectors and corresponding content