added invert mouse option