Adds updateWidth method to help support responsiveness.

Fixes #2