Added script function to close answers when clicked on