Add resize-to-fill function