Fixing history tab
Fixed map / static image legend overflow
Returning previous_image variable
Fixing history panel