Removed selectID and replaced with prevClicked

Going to remove .clicked class  soon because we can just use prevClicked
now