adding toggling when user selects an option