remove extraneous linebreaks, show menu on small