moved unslick to onClick event