added rudimentary spinning animation and spinner