Add complete support for mouse buttons 4 and 5.

Finish adding support for mouse buttons 4 and 5. These were never
quite done and were throwing index out of range errors, for good
reason!