fix flickering image when sliding back