fix display issues on ios7, programmatically add 20px offset to html