update timer
fix horizontal scrolling