I want to run a function everytime the available width of the screen is changed, this is not the same as when the screen size changes as I have the console on the right hand