Adds nav transition functionality