enabled nesting of up to one element inside another nscroll element. fixed a few bugs, optimized code