#232 add logic to screens

Added onShow and onHide, more might still be added