Adjusted item swing amount.
Made toggle code run in onKeyDown rather than onKeyUp (to match the view-switching key).