Pivot control

Implementing pivot control