Adjust attachment view layout