changed slider value type from int to long