add bar movement.