Added javascript to adapt heigth
Added javascript to switch background images