changed layout of buttons to make it resemble  iOS's nav title bar.