Added inventory screen
Switched to requestAnimationFrame