logoutidle

Compact but powerful function to invoke a callback function when nothing happens on the viewport. It is general purpose and works with any frontend framework.