Put id and layout back
Add refresh handler for swipe to refresh