fix bug for portrait browser bug.