moving display refresh from a os task to a core timer interrupt