I can think of a couple ways.
The easiest is invert "when ____ on screen" scroll to position. So if the Player or sprite is not on the screen, It'll scroll to a new position on the layout.
But you probably want each room or area to be a different layout. I don't think you can "scroll" from one layout to another. But you can fake it. Use dummy graphics of the surrounding areas on that layout. So when the player gets to edge of a map you slide the dummy graphics to the center of the screen, then go to the new layout. Make sense?