moved prevent default events to mouse events 2