refactored, done scrollH, done text editing and textbox mostly (selecting cursor left)