fixed couple of problems with the movement of the arrow