Smooth scrolling, line number fix, and others