I think the reason for the middle position of Slovenes between South and Western Slavs is much older. According to Peter Štih the Alpine Slavs formed up from two migration waves. The first, Western Slavic wave from Moravia, arrived the Alpes arround 550AD followed by another South Slavic wave in connection with the Avars from the southeast short after.