unfucking visibilitychange tests a bit