added fix for offset bug on 100% pages