fix magic dancing sidebar in safari