In order to replicate the forward and back button functionality you can use the following Javascript functions :
<script type="text/javascript">
<!--
function goBack() {
history.go(-1);
}
function goForward() {
history.go(1);
}
//-->
</script>
<a href="javascript:history.go(-1);">Go back</a>
<a href="javascript:history.go(1);">Go Forward</a>
<form>
<input value="Back" onclick="history.go(-1); return true;" type="button">
<input value="Forward" onclick="history.go(1); return true;" type="button">
</form>