adding a block to freeze the bar when setxy is use