to make swipelayout to support viewpage?