improved even more. Previous solution was buggy-
also removed dead code.
removed bug with select2 scroll point.