Can't get this to work right without a refresh on page resize. Is that a horrible thing to do?? I don't know...