Tab Swipe Bug Fix

The bug that caused the options menu to be destroyed when tabs were
swiped has been resolved.