Go into the System Prefs> Keyboard & Mouse> Mouse and then change the middle button from Dashboard to Button 3.