restructured layout of markup to avoid using negative margins