Added resizable sample

Added resizable sample