handle touchend, also fix trash image file name