adds slide toggle functionality to edit friend link