Auto-resize on login screen