design improvments and prevent scroll left if the check dont run