Restoration of box with scrollbar (but code ugly).