* feat(improvement): restJoystick now accepts an object * fix: style fixes and removed duplicated restJoystick logic