Moved scrollTop(0) method attachment to after #expand modal is defined in markup.