The ball rolls along a track that lies in the plane of your computer monitor. The velocity indicates the direction that the ball is moving. You indicated that the direction of the velocity at point D was out of the page. If this were so, then the ball would move in front of your computer monitor. Since this does not happen, the direction of the velocity must lie in the plane of your computer monitor.