added mouse scrolling support