added feature for removing posts from the view