extended sidebar code should be about finished now