adding Math.round in setSelection

@PeachScript is that what you were saying in #7  ?