adapt layout to bootstrap