update page on touch up in case of multiple swipes, and removing old files