refactor css, animate inventory