Added slide navigation.
Fixed a navigation bug. Attempting to fix forward/backward detection.