Added methods to create seek bar programmatically