Added custom navigation functions
Added builtin animatenavigate and animatenavigateback