ViewPager FragmentTransaction addToBackStack
===

I have a fragment container layout and viewpager in same activity layoutm which are visibly mutually exclusive(when container is shown viewpager's is set to gone and vise versa).

 
When a user slides through viewpager to a certain position they might want to watch any other fragment in container. So viewpager gets hidden and container shown. My issue is that I don't know how to restore viewpagers state when the user hits back after he activated container's fragment. Is it possible to get use of addToBackStack ?