Added hideBarsOnMobile option, clean up
Added hideBarsOnMobile option, clean up