Adding scrollfunction to the jobslayout