Restore sidebar selection for media items.