change title handling
add a 5 second timeout to flip
Removed redundant markup, added timeout