set layout for front