body resizing for code editor