changed layout to ios style