Made the accelY variable affect scale