bugfix: animation slower than menu redraw when closing tabs