added borders to so that player does not get out of screen
removed the move with linear velocity method from player