fixed ratio logic for working on ios. took into account the header bar affect .height
adding google api to project