Improve UI layout and add some interactive logic to it.