Added scroll x and y support in the display code.