moving content loading inside tab initialization