Added spinner to control the size of the boxes