add a spinner to the view