Remove the directionsPanel setup from directions

Make the directionsPanel a parametter of directions instead of creating
it in directions constructor. Updated the olx and the examples to
reflect this change.