made player speed idependent from framerate