add toggle method to scope for popovers