Made the inventory size more dyanmic.

Also matches the grid size.