Fix for pan swiping when already open

Fix for incorrectly resetting to top view when swiping left (/right)
when left (/right) view controller is already opened and top view
controller anchored to left (/right).