word wrap on inventory
whenever inventory or a dialog is opened, stop the players movement