toggle codearea and showarea