How to get to the top of the backswing

It seems like when I come back steep my hands are too high but when I bring my hands to the correct area my swing isn’t steep enough. How can I come back steep and still have my hands in the correct area. Photos of steep and shallow top back swing