anonymous function hack by krzysiek-94
Passing data from sliders to inputs