hide toolbar
writeroom function