fixed history on mobile and made it better on desktop