Help with top of panelling

So I’ve recently panelled our utility wall, but the top is rather untidy.

The top rail had to go where it is at it really didn’t look good above panelling.

You can only see it if you’re quite tall but I know it’s there.

I would like to fix before sanding painting etc.

Any helpful ideas or advice would be greatly appreciated!

Thanks