trying to get modular layout better
additional work on modular layout. Still no good but not worse
sidebar is now more wide. Closes #1277