http://mobileoptimized.com/AvoidingResets.html