add necessary CSS and spinner