added vertical and horisontal layouts for tablets