Move the resize stuff

Shove that resize stuff off somewhere where it isn't horribly in the
way.