"Current" class for top level dropdown

@samliew Your script from this thread worked perfectly for what I was trying to do. Thanks for your help.