Updated toolbar and added sidebar toggling functionality