fix bug with afui:ready not being dispatched if firstDiv is not found.

Fix bug where firstDiv is not properly set when selected="true" is not found on any panels
Merge pull request #4 from 01org/2.1devtf

fix bug with afui:ready not being dispatched if firstDiv is not found.