Fixing z-indexes for toc and curtain