finish layout + slide