improve tab content layout and float buttons right