Made inventory icon size a variable