added resources, background panning