able to remove image and clear canvas in real time