Squashed the horrible tile rendering bug

There was a bug where tiles would render as 960px width while mobile
screen size was present. This fixes it and actually reduces the amount
of code (I think).