Make history page mobile friendly