If you want to centralize the selector I would use a constant, or better I would have  a GQuery sections = $(".slides > section"), so as we only call the select engine once.