Added collapse feature to toolbar on resize