turn off selection mode when switching between grid and list