change ui pan mouse behavior