Added onclick to stop the boxes.