change variables arm and hand to armHorizontalDisplacement and armVerticalDisplacemen...