Support for bottom slider

Updated logic to adjust the slider closest to the touchpoint