add slider layout