added wait for expander to be visible before clicking it.