global collapse icon switch function
adding collapse panles to admin panel