fix tool trait type error which seems to occur only on windows
changed mouse buttons and added icon to toggle between pan and move legend for rt mouse
changed mouse buttons and added icon to toggle between pan and move legend for rt mouse