updated activity indicator to work with mobile