added spinner animation