Remove build.xml dependancies on Android and iOS
Fixed unstabalized state, due to if else in mobile header

when swipeNext & Prev occurs pages going forth and back because of
javascript check the status with
if(){
}else{
}, then some thing which is not considered in "if", it's always goes to else and execute.
To prevent that, used "else if()" <== "else" instead.