moved panning to body, fixed background offset