resets if offset < inset after substracting top insets
updated Podfile