delete expand recents function