half implemented editing to fragments and modified code mirror css to
take up all horizontal space and not vertically scroll