fixed buggy/inconsistent display on mobile view