adding expand collaps view switch