Scale histogram on showing details