improved template sliding features