corrected panel animation wrong offset