Logitech Marathon Mouse M705 Erratic Scrolling Fix

My Logitech M705 started acting strange with scrolling. Ideally one scroll of the scroll wheel would produce the same amount of scrolling each time and in the proper direction. Instead it would jump around, bounce back in the wrong direction and be generally unpredictable. The fix that worked for me was updating the firmware on the unifying receiver.