first.jpgsecond.jpg

first image cover photo has position relative and profile pic has position absolute..
when scrolling the profile pic is above the menu bar ....

can anyone suggest me how to overcome the problem in 2nd image