modify mouse control