Tunneling, self-trapping, and manipulation of higher modes of a Bose-Einstein condensate in a double well