html and css changed to adapt portrait version