Shake triggers a function to remove shake picture