Inventory Menu Leaves and Comes back safely!

Made the inventory work better