UI setup and scaling