fixed switch_to_frame() function as it doesn't allow switching back to parent frame. $session->frame did but its better to standardize switch_to_frame() to do the trick.
Merge pull request #26 from bernardpeh/master

Allowed switch_to_frame() to switch back to parent html