Hiding/showing sidebar on window resize