adapted cart and navbar to suit mobile