refactored tdview to take screens