added new resizing functionality of repo chart