Added check for NaN in Math.round of thumb position

Math.round(this.thum_pos.y) evaluates to NaN in case the content of the div it is applied to is less, or the content itself is removed by directly doing a innerHTML on the parent node.
Seeing this error in console in IE8.