created the ResponsiveWindow class