add inventory support and horrible panning