Reorder css files and add delay to removing the popup