Hiya,the easiest solution would be to make sides and a top the same width as between the wall and the bookcase,this could be then fixed to the wall and to get to the consumer unit you just pull the bookcase forward. Where abouts are you as someone on here might be close and able to do it for you or ...