collapsing menu working correctly now