implement back click event