You can follow these steps:
1) Add this code
Where #streeview is your map ID and #tabs is your tab ID
above code solve your problem but if you facing another problem that map is not displaying with its center point than you should add this code:
2) Add this code:
Where map_canvas is ID of map div.
Hope, this will be help full to you.