seperating events in to seperate method, also fixes speed change on scrollpane