This change was required if ULTRA_LCD was defined without ULTIPANEL. This is preferable to defining the encoderDiff variable in this scenario as it is not needed.