added some mouse functionality in Player