Decrease the height of bars and set a variable