add scrolltorow method inside header