ticks on time axis and fixed tab-switching bug