Added smooth pan.