Updated mousemodel

Added vertical and horizontal scrolling in mousemodel