scroll fix and code completion improvements