Ogilvy powers Vandy past Gamecocks