support for snapping and for content view