magic resizing rules box; restart button