add function isinscreen