Resize the timetable on window.resize