fix bug on ios involving blue bar appearing on right hand side