Fixed poor layout on smaller window