[BUG #8514] fixed check for sparse arrays
[BUG #8514] Moved application scaling to separate class
[BUG #8514] fixed theme switch
[BUG #8514] removed obsolete methods
[BUG #8514] use NativeScroll by default