fixing bug where cal displays in both tabs