made it so return to calendar goes to index, not mainPage
made it so return to calendar goes to index, not mainPage. merged