bug fix: head & tail fix on mobile page