got game controller working and stuff
use requestAnimationFrame instead