loop controls on main page