connecting width to touch slider