added property on square whether it is root, and added adjustment for status bar on ios7