Handle form navigation, back and forward.