fix to stop bargraph from moving