added inventory panel class