Adding main div container and modifying urls