Fix issue in fullpage plugin

There might  be some cases in the fullpage code where elm is null. Don't call remove on it if it not there to start with.