Add scrolling to a platformer in pygame,pygame.display.update()