watch data-width instead of width