added a module for checking collision with screen.