Boxes scale and react properly to input