Added responsive logic