mostly fixed ff bug for offset
Tidy up code, fix final bugs and add alternative background for old ie.