remove extraneous linereaks, show menu on small