hide textarea + better cursor handling