Main page layout refactoring, z-indexes modified for proper element layering
Fix styling bug on absolutely positioned main content