title: How to implement custom tabs titles animation and position
body: <p>I have seen a great design in one app.<br>
  There is custom tabs representation and animation.<br>
  If the tabs doesn't has next(the last tab) there are only two tabs on the screen current at the center and adjacent.<br>
  And there is custom animation when switchng between tabs.<br>
  How to implement similiar tabs view and custom animation.
  <img src="https://i.stack.imgur.com/6q0EG.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/aMKh1.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/PJuux.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/5IjdG.png" alt="enter image description here"></p>
  
  <p>I will be grateful everyone for help.</p>