Hiding/showing sidebar does not refresh the webpage anymore.