fixed an issue with ie when the toolbar is fixed
should be calling queryState on button click