shiftview patch - forward declaration of shiftview