Improved behaviour of number spinner