Reset width when being unstuck if it gets set.

Other enhancements:

- Reduce calls to `$.css()` by passing object of properties instead.
- Only run `$(s.getWidthFrom).width()` if `getWidthFrom` has been set. Previously the condition would always return true because the default was empty string.