Don't hardcode a height of 500 when resizing.