HUE-1735 [fb] Better back history

Added pagination history support