allow chart to be closed
smooth movement