Added a condition if the image height is more than 500 then I will make sure that margin-top of the sidebar is 370... not the best but I dont know what else.