Small adjusment to auto-scroll directive to allow rendering of elements to complete rendering before animate is called