added dynamic background and corrected ball placement