added remove direction on click