added the UI for the Scan View