scroll z with first non blank support
Fix bug that cusor at EOF( after newline ) scrolls to top