Added touch support & nesting depth options. Touch by Blake McLeod (bmcleod) & depth options by Marc-André Lafortune (marcandre)