Disable ViewPager navigation when interacting with ImageView

Lock/Unlock button to temporarily disable ViewPager navigation in order to correctly interact with ImageView by gestures. Lock/Unlock state of ViewPager is saved and restored on configuration changes.