document.width no longer functioned on my phone. I'm not entirely sure why that is.