only call ajax when panels are expanding