Fixed issue with sidebar flickering in firefox