responsive adjustment to boxes