Because we're required to add a  higher toilet seat due to a health problem, our carpenter removed the sides below the shelf and attached the upper part to the wall.  Looks great and solved the problem.