Well, if you mean background scrolling, then have a big background, larger than the screen, and four invisible hitboxes, one to each side of the screen, then simply say, if the characters on the hitbox tell the backgrounds either, x, or y axis to be added in either - or +, depending of direction by the speed of the player, furthermore, play around with causing the charicters own speed to stop on the hit, if hes faceing the direction of the scroll (otherwise he'd get stuck!), but if thats a bit tricky (which it is) just have the character centered and move the background around the character in a similar fashion!!
Hope that helps ^-^