Fixed width bug and window resizing bug.
Merge pull request #32 from vaishaks/master

Fixed width bug and window resizing bug.