setting position of the box

updating the box view