Added functionality to shift screen up when more content is written.