hide spinner on visibilitychange not window focus