Added Delete and favorite slide Function