Added loading images and pagination to the inventory