fixes ace editor cutting off viewing code