wrapped detached sidebar in matchmedia