Fixed image issue for small viewport as well as content area not increasing height of container when needed