only load div when in right state