better fix for input number
smooth scrolling application