some small refactorings before implementing the anchor interface pattern
set the chat urianchor based on the state of the chatslider
use the urianchor to drive the application state