Fixed resize function (which got slightly out-of-whack following the team toggle feature) so that it works as it did before. In particular, the zooming and text appearances work properly now.