closing bootstrap menu on click. changing details template for description and title only