close side bar after selection