fixed js glitch on display tab