smoothstate fix for sidebar