fix problem of out of page boundary for navigation symbols