add autoLayout with snappy