fix for image stats popup, add css and resize buttons