Non-Newtonian power-law gravity currents propagating in confining boundaries