New tab drawing function
Fix css