Added the motionblur function