implementing filterview swap