background scrolling fix - not working good with foreground