Optimize layout for landscape/portlait
Fix bars' layout