toggling time unit in analytics table