Implemented the BubbleView.isOutOfView method