Fix siderbar and header issues in firefox