Adjust box position