refacored the drawing code
Signed-off-by: timothy <timothy@timothy-linux.(none)>
added scrroling andd zoom
Signed-off-by: timothy <timothy@timothy-linux.(none)>