bug with sliding layouts fixed