Browser history manager for rich media websites