Added some sidebar magic