cleaned up css for history and favorites to display images