Layout updated for smaller windows.