Use offsets and deltas so buttons appear correctly on both iOS7 and older iOS