changed layout and scaling