Adding mouseScrolled functionality