update horizontal bar during arrowkeyscrolling