fixed sliderticks calculation, finally