Please see the updated post for a sleeker and more modern approach to the same problem!