Changed controls and now inventory get automatically closed when hero moves.