Wrapping view content in div tag in optimized mode