fixed scrolling and display of numbers in firefox

adjusted default values
Implemnted new grammar