enable hardware layer when dragging or fling