added landscape and portrait modes, needs tidying