fixed js to delete wedges to the right of whichever one is clicked on