The main-box now resizes predictably (Thanks @PouyaAdn & @MahyarJ)