Fixed a bug where links wouldn't get a unique ID
 Fixed a bug where the slider buttons were overwritte; removed unnecessary return statements