bar chart fix attempt - window size if