Can make sidebar use functions instead of content when clicked