Nearly there. Full lines just disappear instead of collapsing.