move display logic into callback function
modify page
add new loading gif