Added custom implementation of wait for view by id that will wait for the view to appear in the view heirarchy as well as becoming visible