better mouse control in samples