fix main overflowing into sidebar