added frame loading spinner