Layout maybe finished. Had to resort to javascript because css is really bad