Changed curnextLay's layout