add show/hide spinner