added swipe buttons for back and forward, handling disconnection better and timeouts
fix