transit when window width is less than #container