css & js photos fixes