Changed movement code to be entirely mouse bsed