$content_width wasn't global before...

... so setting it in a function didn't actually do anything.